//
//  LS_WebViewModel.h
//  breadPro
//
//  Created by 刘文超 on 2019/7/18.
//  Copyright © 2019 刘文超. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LS_ViewModelService.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger,LSWebNavBarStyleType) {
    LSWebNavBarStyleTypeNomer   = 1,//默认
    LSWebNavBarStyleTypeHidden  = 2,//隐藏
};
typedef NS_ENUM(NSUInteger,LSWebType) {
    LSWebTypeMainPageDetialType  = 1,//首页详情
    LSWebTypeDestinDetialType    = 2,//设计详情
};
@interface LS_WebViewModel : NSObject

/**
 请求地址
 */
@property(nonatomic,copy)NSString *requestURL;

/**
 标题
 */
@property(nonatomic,copy)NSString *title;

/**
 导航类型
 */
@property(nonatomic,assign)LSWebNavBarStyleType navBarStyleType;

/**
 web页面类型
 */
@property(nonatomic,assign)LSWebType webType;

-(instancetype)initWithServices:(id<LS_ViewModelService>)service param:(NSDictionary *)params;
@end

NS_ASSUME_NONNULL_END
